package com.qn.analyze.service;

import com.qn.analyze.entity.IpAddressMetrics;
import com.qn.analyze.entity.IpAddressRiskMetrics;
import com.qn.analyze.mapper.IpAddressMetricsMapper;
import com.qn.analyze.vo.IpaddressMetricsQueryVo;
import com.qn.analyze.vo.IpaddressRiskMetricsQueryVo;
import com.qn.common.base.BaseServiceImpl;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@DubboService(version = "1.0.0")
public class IpAddressMetricsServiceImpl
        extends BaseServiceImpl<IpAddressMetrics>
        implements IpAddressMetricsService {
    @Autowired
    IpAddressMetricsMapper baseMapper;

    @Override
    public List<IpAddressMetrics> getContinentList(IpaddressMetricsQueryVo where) {
        return baseMapper.getContinentList(where);
    }

    @Override
    public List<IpAddressMetrics> getCountryList(IpaddressMetricsQueryVo where) {
        return baseMapper.getCountryList(where);
    }

    @Override
    public List<IpAddressMetrics> getRegionList(IpaddressMetricsQueryVo where) {
        return baseMapper.getRegionList(where);
    }

    @Override
    public List<IpAddressMetrics> getCityList(IpaddressMetricsQueryVo where) {
        return baseMapper.getCityList(where);
    }

    
    @Override
    public List<IpAddressMetrics> getAnsList(IpaddressMetricsQueryVo where) {
        return baseMapper.getAnsList(where);
    }

    @Override
    public List<IpAddressMetrics> getTimezoneList(IpaddressMetricsQueryVo where) {
        return baseMapper.getTimezoneList(where);
    }
    @Override
    public List<IpAddressRiskMetrics> getRiskList(IpaddressRiskMetricsQueryVo where) {
        return baseMapper.getRiskList(where);
    }

    @Override
    public List<IpAddressMetrics> getCountryStatisticsList(IpaddressMetricsQueryVo where) {
        return baseMapper.getCountryStatisticsList(where);
    }
}
